/*
创建action的函数
*/

import * as actionType from './action-type';

export const loginAction = (login) => ({
  type: actionType.USER_LOGIN,
  ...login
});
export const logoutAction = (login) => ({
  type: actionType.USER_LOGOUT,
  ...login
})
